﻿using AdminSystem.Application.Dtos;
using AdminSystem.EntityFramworkCore;
using MediatR;
using AdminSystem.Domain.Entities;

namespace AdminSystem.Application.Commands.LoginCommands
{
    public class LoginQueryCommand:IRequest<APIResult<List<UserDTO>>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass { get; set; }
    }
}
